import { request } from '@umijs/max';

// 上传文件
export async function upload_files(formData: any) {
  return request<API.ReqResult>(`/api/article/upload_files`, {
    method: 'POST',
    requestType: 'form',
    data: formData,
  });
}
